package demo1;

import java.util.concurrent.locks.ReentrantLock;

public class Main1 {
    public static void main(String[] args) {
        /**
         * 公平锁：true 不公平锁：false
         */
        ReentrantLock reentrantLock=new ReentrantLock(true);
    }
}
